package br.com.sigad.servico;

import java.sql.Connection;
import java.util.List;

import br.com.sigad.dao.ConnectionFactory;
import br.com.sigad.dao.UfDAO;
import br.com.sigad.dto.UfDTO;

public class UfService extends Service{
	
	public List<UfDTO> carregaUFs() throws Exception{
		Connection conn = null;
				conn = ConnectionFactory.getConnection();
				UfDAO dao = new UfDAO();
				return dao.pesquisar(conn);
	}
}